package com.ruoyi.manage.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 手术单关联对象 surgery_form
 * 
 * @author zww
 * @date 2025-07-14
 */
@Data
public class SurgeryForm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */

    private Long surgeryFormId;

    /** 表单id;关联表单 */
    @Excel(name = "表单id;关联表单")
    private Long formSettingId;

    /** 手术id;关联手术 */
    @Excel(name = "手术id;关联手术")
    private Long surgeryId;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 删除标志;0正常1删除 */

    private Long delFlag;

    private List<SurgeryFormDetail> surgeryFormDetailList;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("surgeryFormId", getSurgeryFormId())
            .append("formSettingId", getFormSettingId())
            .append("surgeryId", getSurgeryId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
